package com.dhcc.core.modules.system.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.TreeEntity;

/**
 * 资源表
 * 
 * @ClassName: Resource
 * @Description: TODO
 * @author: cyf
 * @date: 2018年1月2日 上午10:36:23
 */
@TableName("sys_resource")
public class Resource extends TreeEntity<Resource> {

    private static final long serialVersionUID = 1L;

    /**
     * 资源授权编号
     */
    private String perms;
    /**
     * 资源名称
     */
    private String name;
    /**
     * 资源图标
     */
    private String icon;
    /**
     * url地址
     */
    private String url;
    /**
     * 资源类型
     */
    private Integer resType;
    /**
     * 备注
     */
    private String description;
    /**
     * 资源状态 : 1:启用 0:不启用
     */
    private Integer status;
    /**
     * 是否打开: 1:打开 0:不打开
     */
    private Integer isOpen;
    /**
     * 资源分组 0 backend 1 front
     */
    private Integer resGroup;
    public String getPerms() {
        return perms;
    }
    public void setPerms(String perms) {
        this.perms = perms;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getIcon() {
        return icon;
    }
    public void setIcon(String icon) {
        this.icon = icon;
    }
    public String getUrl() {
        return url;
    }
    public void setUrl(String url) {
        this.url = url;
    }
    public Integer getResType() {
        return resType;
    }
    public void setResType(Integer resType) {
        this.resType = resType;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getIsOpen() {
        return isOpen;
    }
    public void setIsOpen(Integer isOpen) {
        this.isOpen = isOpen;
    }
    public Integer getResGroup() {
        return resGroup;
    }
    public void setResGroup(Integer resGroup) {
        this.resGroup = resGroup;
    }


}
